package com.RedRiver.hospitalsystem.personal_service.common.exception;

import com.RedRiver.hospitalsystem.exception.RedRiverHISException;
import com.RedRiver.hospitalsystem.personal_service.common.Personal_serviceResultCode;

public class DepartmentException extends RedRiverHISException {

    public DepartmentException(Personal_serviceResultCode error){
        super(error.getCode(),error.getMessage());
    }

    public DepartmentException(Integer code, String message) {
        super(code, message);
    }
}
